#include "CMainMenu.h"

CMainMenu::CMainMenu( SGameComponents &gamePoiters ) : m_sGamePointers(gamePoiters)
{
	m_pGUIEnvironmant = (IGUIEnvironment *)m_sGamePointers.GUIEnvironment;
	create();
}

void CMainMenu::create()
{
	m_pGUIEnvironmant->addButton(rect< s32 >(10, 240, 110, 240 + 32), 0, EGUIE_ID_EXIT_BUTTON, L"Quit", L"Exits Program");
}
